
import layout from '@/views/edge/module/Layout'
export default [
  {
    path: '/edge',
    name: 'edge',
    component: () => import('@/views/edge/lis'),
    affiliation: 'main',
    meta: { title: '边缘节点模型', icon: 'icon14', name: 'edge' },
  },
  {
    path: '/edge/detail',
    name: 'edgedetail',
    component: () => import('@/views/edge/detail'),
    // affiliation: 'main',
    meta: { title: '模型部署', icon: 'icon14', name: 'edge' },
  },
  {
    path: '/edge',
    name: 'edge',
    component: layout,
    // affiliation: 'main',
    meta: { title: '模型部署', icon: 'icon14', name: 'edge' },
    children: [
      {
        path: 'code',
        name: 'edgecode',
        component: () => import('@/views/edge/code'),
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "edge"
        }
      },
      {
        path: 'metrics',
        component: () => import('@/views/edge/metrics'),
        name: 'edgemetrics',
        meta: {
          title: '监控',
          icon: 'nav-menu-icon1',
          affiliation: "edge"
        }
      },
      {
        path: 'log',
        component: () => import('@/views/edge/log'),
        name: 'edgelog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "edge"
        }
      },
      {
        path: 'ssh',
        component: () => import('@/views/edge/webssh'),
        name: 'ssh',
        meta: {
          title: 'ssh',
          icon: 'nav-menu-icon1',
          affiliation: "edge"
        }
      },
    ]
  },
]
